using System;
using System.Collections.Generic;
using System.Text;
using AAM;
using AAM.BIZ;

namespace CMS.BIZ
{
    [DatabaseTable(TableName="ForumCategories",TableAlias="forumCat")]
    public class BizForumCategory : BizObject
    {

        public static readonly ObjectType ObjectType = new ObjectType("BizForumCategory");

        private int forumCategoryID = 0;
        private string forumCategoryName = "";
        private string forumCategoryDescription = "";

        public BizForumCategory()
            : base(ObjectType, new object[] { 0 })
        {
        }

        [DatabaseRow(Identity=true,PrimaryKey=true)]
        public int ForumCategoryID
        {
            get { return forumCategoryID; }
            set { forumCategoryID = value; ID[0] = value; }
        }
        [DatabaseRow()]
        public string ForumCategoryName
        {
            get { return forumCategoryName; }
            set { forumCategoryName = value; }
        }
        [DatabaseRow()]
        public string ForumCategoryDescription
        {
            get { return forumCategoryDescription; }
            set { forumCategoryDescription = value; }
        }


    }
}
